package com.tourlaid.mamagerment.action.wx

import com.tourlaid.mamagerment.ao.wx.MyAttentionAo
import com.tourlaid.mamagerment.entity.ResponseData
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController
import javax.annotation.Resource

/**
 * Created by xiaoyongge on 2017/7/23.
 * 我的关注
 */
@RestController
@RequestMapping("/tld/admin/myattention")
class MyAttentionAction {

    @Resource
    var myAttentionAo: MyAttentionAo? = null

    @RequestMapping("/queryData.json")
    fun queryData(pageNo: Int): ResponseData<List<Map<String, Any?>>> {
        val responseData = myAttentionAo!!.queryData(pageNo)
        return responseData
    }

}